package com.epam.repository;

import com.epam.Entity.Book;
import com.epam.Entity.User;
import org.hibernate.annotations.SelectBeforeUpdate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

@Component
public interface UserRepository extends JpaRepository<User,Integer> {
    User getUserByUserId(String userId);
}
